let app = new Vue({
	el: "#common",
	data() {
		return {
			options: [],
			value: [],
			list: [],
			loading: false,
			//员工
			members: [],
			loaded: false,
		}
	},
	methods: {
		// 初始化团队成员列表
		async initMembers() {
			// 显示加载框
			const loading = this.$loading(LOAD_STYLE);
			try {
				let res = await axios.get('api/team/member/' + localStorage.getItem('USERID'));
				if (res.code === 200) {
					this.members = res.data;
					if (this.members.length > 0) {

					}
				} else {
					this.$message.error(res.message);
				}
			} catch (e) {
				this.$message.error('请求出错！', e.message);
			}

			// 关闭加载框
			loading.close();
		},

	},


});
